package com.dubbo.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dubbo.bean.UserAddress;
import com.dubbo.service.OrderService;
import com.dubbo.service.UserService;

@Service(value = "orderService")
public class OrderServiceImpl implements OrderService {

	@Autowired
	UserService userService;

	@Override
	public List<UserAddress> initOrder(Integer userId) {
		return userService.findAddressList(userId);
	}

}
